package br.com.boardnaveia.constant;

public class IndiceNoticia {

	private Integer indice = 0;
	
	public void aumentar(){
		indice ++;
	}
	
	public Integer getPosicao(){
		return indice;
	}
	
	public void diminuir(){
		if(!indice.equals(0))
			indice --; 
	}

	public void zerar() {
		indice = 0;
	}
	
}
